How do I remove a String Array from a List in C#

67

How do I remove a String Array from a List in C# -

 List<string[]> theList = new List<string[]>();
 string[] myStringarray = new string[] { "a", "b", "c" };
 theList.Add(myStringarray);

 //remove myStringarray from the main list
 theList.Remove(myStringarray);

Comments

Submit
0 Comments